<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Download Functions</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch07.html" title="Chapter 7.  Support Function Reference"><link rel="prev" href="ch07s08.html" title="XML Editing Functions"><link rel="next" href="ch07s10.html" title="Procrastination Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
		Download Functions
		</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch07s08.html">Prev</a> </td><th width="60%" align="center">Chapter 7. 
		Support Function Reference
		</th><td width="20%" align="right"> <a accesskey="n" href="ch07s10.html">Next</a></td></tr></table><hr></div><div class="section" title="Download Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="support-download"></a>
		Download Functions
		</h2></div></div></div><p>
		Download function write applets, parameters and runtime firmware to device SDRAM or NVRAM.		
		</p><div class="section" title="WriteExecuteApplet"><div class="titlepage"><div><div><h3 class="title"><a name="WriteExecuteApplet"></a>
			WriteExecuteApplet
			</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">signed <b class="fsfunc">WriteExecuteApplet</b>(</code></td><td><var class="pdparam">plc</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">header</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct plc * <var class="pdparam">plc</var></code>;<br><code>void const * <var class="pdparam">header</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
			Write an NVM image directly into <acronym class="acronym">SDRAM</acronym> using <code class="constant">VS_WRITE_AND_EXECUTE</code> messages. This function calls either <a class="link" href="ch07s09.html#WriteExecuteApplet1" title="WriteExecuteApplet1">WriteExecuteApplet1</a> or <a class="link" href="ch07s09.html#WriteExecuteApplet2" title="WriteExecuteApplet2">WriteExecuteApplet2</a> based on the NVM header version. The function is declared in <a class="ulink" href="plc.h.html" target="_top">plc.h</a> and defined in <a class="ulink" href="WriteExecuteApplet.c.html" target="_top">WriteExecuteApplet.c</a>. The <code class="varname">plc</code> structure is defined in <a class="ulink" href="plc.h.html" target="_top">plc.h</a>.
			</p></div><div class="section" title="WriteExecuteApplet1"><div class="titlepage"><div><div><h3 class="title"><a name="WriteExecuteApplet1"></a>
			WriteExecuteApplet1
			</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">signed <b class="fsfunc">WriteExecuteApplet1</b>(</code></td><td><var class="pdparam">plc</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">header</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct plc * <var class="pdparam">plc</var></code>;<br><code>struct nvm_header1 * <var class="pdparam">header</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
			Write an NVM image directly into <acronym class="acronym">SDRAM</acronym> using <code class="constant">VS_WRITE_AND_EXECUTE</code> messages. This function is similar to <a class="link" href="ch07s09.html#WriteExecuteApplet2" title="WriteExecuteApplet2">WriteExecuteApplet2</a> but expects a structure <code class="varname">nvm_header1</code> pointer instead of a structure <code class="varname">nvm_header2</code> pointer. The function is declared in <a class="ulink" href="plc.h.html" target="_top">plc.h</a> and defined in <a class="ulink" href="WriteExecuteApplet.c.html" target="_top">WriteExecuteApplet.c</a>. Structure <code class="varname">plc</code> is defined in file <a class="ulink" href="plc.h.html" target="_top">plc.h</a>. Structure <code class="varname">nvm_header1</code> is defined in file <a class="ulink" href="nvm.h.html" target="_top">nvm.h</a>.
			</p></div><div class="section" title="WriteExecuteApplet2"><div class="titlepage"><div><div><h3 class="title"><a name="WriteExecuteApplet2"></a>
			WriteExecuteApplet2
			</h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">signed <b class="fsfunc">WriteExecuteApplet2</b>(</code></td><td><var class="pdparam">plc</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">header</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct plc * <var class="pdparam">plc</var></code>;<br><code>struct nvm_header2 * <var class="pdparam">header</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
			Write an NVM image directly into <acronym class="acronym">SDRAM</acronym> using <code class="constant">VS_WRITE_AND_EXECUTE</code> messages. This function is similar to <a class="link" href="ch07s09.html#WriteExecuteApplet1" title="WriteExecuteApplet1">WriteExecuteApplet1</a> but expects a structure <code class="varname">nvm_header2</code> pointer instead of a structure <code class="varname">nvm_header1</code> pointer. The function is declared in <a class="ulink" href="plc.h.html" target="_top">plc.h</a> and defined in <a class="ulink" href="WriteExecuteApplet.c.html" target="_top">WriteExecuteApplet.c</a>. Structure <code class="varname">plc</code> is defined in file <a class="ulink" href="plc.h.html" target="_top">plc.h</a>. Structure <code class="varname">nvm_header1</code> is defined in file <a class="ulink" href="nvm.h.html" target="_top">nvm.h</a>.
			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch07s08.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch07.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch07s10.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
		XML Editing Functions
		 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
		Procrastination Functions
		</td></tr></table></div></body></html>
